package com.yuyou.fn.settlement.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * 费用类别
 *
 */
@TableName(value = "fee_category")
public class FeeCategory implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<FeeCategory> createExample(){
		return new Example<FeeCategory>(FeeCategory.class);
	}

	/**  */
	@TableId(value = "fee_category_id")
	private Long feeCategoryId;

	/** 分类名称 */
	private String name;

	/** 备注 */
	private String remark;

	/** 是否内置分类 0:否 1:是  */
	@TableField(value = "is_build_in")
	private Integer isBuildIn;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/**  */
	@TableField(value = "parent_fee_category_id")
	private Long parentFeeCategoryId;

	/** 是否需要分摊时间 0:否 1:是 */
	@TableField(value = "need_share_time")
	private Integer needShareTime;

	/** 是否需要多个分摊主体 0:否 1:是 */
	@TableField(value = "need_mult_main_body")
	private Integer needMultMainBody;

	public Long getFeeCategoryId() {
		return this.feeCategoryId;
	}

	public void setFeeCategoryId(Long feeCategoryId) {
		this.feeCategoryId = feeCategoryId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getIsBuildIn() {
		return this.isBuildIn;
	}

	public void setIsBuildIn(Integer isBuildIn) {
		this.isBuildIn = isBuildIn;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getParentFeeCategoryId() {
		return this.parentFeeCategoryId;
	}

	public void setParentFeeCategoryId(Long parentFeeCategoryId) {
		this.parentFeeCategoryId = parentFeeCategoryId;
	}

	public Integer getNeedShareTime() {
		return this.needShareTime;
	}

	public void setNeedShareTime(Integer needShareTime) {
		this.needShareTime = needShareTime;
	}

	public Integer getNeedMultMainBody() {
		return this.needMultMainBody;
	}

	public void setNeedMultMainBody(Integer needMultMainBody) {
		this.needMultMainBody = needMultMainBody;
	}

}
